﻿@model List<Pageparkproject.Models.tblNew>

@foreach (var item in Model)
{
    <div id="news-list">
        <div class="news-item">
            <header>
                <h1>@item.sTieude</h1>
                <time>@item.dDatepost.ToShortDateString()</time>
            </header>
            <div class="content">
                @Html.Raw(item.sTomtat)
                            @if (item.sAnh != null)
            {
                <img src="/Contents/Images/News/@item.sAnh" />
            }
                <p><a href="@Url.Action("NewsDetail", new { id = item.PK_iNewsID })">Read More</a></p>
                @if (item.sAnh != null)
                {
                    <img src="/Contents/Images/News/@item.sAnh" />
                }

                <!-- Share -->
                <div class="share">
                    <a class="share_btn no-ajaxy" href="#">Share</a>
                    <div class="share_box clearfix">
                        <ul>
                            <!-- Facebook -->
                            <li>
                                <a class="popup" href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fpagepark.co.uk%2Fnews%2Flaurieston-project-launch&amp;t=Laurieston+project+launch">Facebook</a>
                            </li>
                            <!-- Twitter -->
                            <li>
                                <a class="popup" href="http://twitter.com/home?status=P%2FP+-+Laurieston+project+launch+http%3A%2F%2Fpagepark.co.uk%2Fnews%2Flaurieston-project-launch">Twitter</a>
                            </li>

                            <!-- Google+ -->
                            <li>
                                <a class="popup" href="https://plus.google.com/share?url=http%3A%2F%2Fpagepark.co.uk%2Fnews%2Flaurieston-project-launch">Google+</a>
                            </li>
                            <!-- Email -->
                            <li>
                                <a href="mailto:?subject=Laurieston project launch&amp;body=Laurieston project launch - http://pagepark.co.uk/news/laurieston-project-launch">Email</a>
                            </li>


                        </ul>


                    </div>
                </div>
                <!-- end share-->
            </div>
        </div>
    </div>
}